

import * as React from 'react';
import { View, Text } from 'remax/wechat';

import styles from "./index.less";
import HomeTitle from "@/components/home_title";

const index = (props) => {

  const list = [
    {
      accout: "u月小刚",
      shareContent: "西江三日暴走"
    },
    {
      accout: "忘旧人",
      shareContent: "丽江三日暴走"
    },
    {
      accout: "无敌寂寞",
      shareContent: "丽江三日暴走"
    },
  ]

  return <View className={styles.my_itinerary}>
    <HomeTitle title="我的行程" />
    <View className={`flex flex_row_between flex_col_center ${styles.my_itinerary_bgtitle}`}>
      <View>还没有创建岗位</View>
      <View className={styles.create_btn}>立即创建</View>
    </View>
    <View className={styles.more_itinerary}>
      <View className={styles.after}></View>
      {
        list.map((item,index) => {
          return <View key={index} className={styles.list_item}>
            <Text className={styles.main_content}>{item?.accout || "***"}</Text>
            <Text>刚刚分享了路数</Text>
            <Text className={styles.main_content}>{item?.shareContent || "西江三日暴走"}</Text>
          </View>
        })
      }
    </View>
  </View>
}

export default index;